const state = {
    gameState:1,//游戏状态：0-开始，1-进行中，2-结束（爆炸瞬间到下一局游戏准备），3-下一局游戏准备阶段
    // playerState:0,//玩家状态：0-未加入游戏，1-已下注，2-已逃跑
    nowTimes:0,//当前倍数
}
let getters = {
    getState(state){
        return state.gameState
    },
    getNowTimes(state){
        return state.nowTimes
    }
}
const mutations = {
    setGameState(state,gameState){
        state.gameState = gameState
    },
    setNowTimes(state,times){
        state.nowTimes = times
    }
}
const actions = {

}

export default {
    state,getters,mutations,actions
}